<template>
  <van-swipe :autoplay="3000">
    <van-swipe-item v-for="(item, index) in data" :key="index">
      <van-image :src="item.src"/>
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  name: 'bannerSwiper',
  props: {
    data: Array
  }
}
</script>
